]> dgit.raspbian.org Git - gnome-shell.git/commit
search: Simplify and correct behavior for substring searches
authorJasper St. Pierre <jstpierre@mecheye.net>
Sat, 16 Feb 2013 04:10:42 +0000 (23:10 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Sat, 16 Feb 2013 18:24:21 +0000 (13:24 -0500)
commitb292bba092829cf76f79521a8958cc0b14d4c886
tree531deab89b36768a93622a23a0bf1b12b712078e
parent5c7f0a0ad82fc212706557dc5cd9fb6a2ed7abd7
search: Simplify and correct behavior for substring searches

Early on, search was based on a list of terms, which was like a set
of tags, in that terms were OR'd, and that order didn't matter. As
such, modifying any one of the terms wouldn't produce new results.
Nowadays, providers take the order into account, so a substring
should only be the case if new terms are added to the end.

https://bugzilla.gnome.org/show_bug.cgi?id=693935
js/ui/search.js